const path = require('path')

module.exports = {
  productionSourceMap:false,
	devServer: {
		proxy: {
			'/query': {
				target: 'https://api.tongmu.cn',
				secure: false,
				changeOrigin: true,
				pathRewrite: {
					'^/query': '/query'
				}
			}
		}
	},
	pluginOptions: {
		"style-resources-loader": {
			preProcessor: "less",
			patterns: [
				path.resolve(__dirname, "./src//assets/css/global.less")
			]
		}
	}
}

